//产品选择页面样式
a{
    color: #333;
}
.ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.container {
    width: 1240px;
    margin: 0 auto;
    background-color: #f5f5f5;
    .xtx-bread {
        display: flex;
        padding: 25px 10px;
        align-items: center;
        .iconfont{
            margin: 0 5px;
            &::after{
                content: '';
                width: 8px;
                height: 8px;
                border-top: 1px solid #333;
                border-left: 1px solid #333;
                transform: rotate(135deg);
                display: inline-block;
            }
          }
        }
    .sub_filter{
        background-color: #fff;
        padding: 25px;
        width: 1240px;
        margin: 0 auto;
        .item{
            display: flex;
            .head{
                width: 80px;
                color: #999;
                line-height: 40px;
                text-align: center;
            }
            .body{
                flex: 1;
                a{
                    margin-right: 36px;
                    transition: all .3s;
                    display: inline-block;
                    max-width: 112px;
                    line-height: 40px;
                    &:hover{
                        color:  #27ba9b;
                    }
                }
                &.active{
                   color:  #27ba9b;
                }
            }
        }
    }

    .goods_list{
        background: #fff;
        padding: 0 25px;
        margin-top: 25px;
        .sub_sort{
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: space-between;
           .sort{
                display: flex;
                a{
                    display: inline-block;
                    height: 30px;
                    line-height: 30px;
                    border: 1px solid #e4e4e4;
                    padding: 0 20px;
                    margin-right: 20px;
                    color: #999;
                    border-radius: 2px;
                    position: relative;
                    transition: all .3s;
                    &.active{
                        background-color: #27ba9b !important;
                        color: #fff;
                    }
                    .down{
                        position: absolute;
                        top: 5px;
                        border: 5px solid transparent;
                        right: 8px;
                        border-bottom-color: #bbb;
                        &:active{
                            border-bottom-color: #27ba9b !important;
                        }
                    }
                    .up{
                        position: absolute;
                        top: 17px;
                        border: 5px solid transparent;
                        right: 8px;
                        border-top-color: #bbb;
                        &:active{
                            border-top-color: #27ba9b !important; 
                        }
                    }
                }
            }
            .check{
                display: flex;
                .xtx-checkbox{
                    margin-left: 20px;
                    color: #999;
                    span{
                        margin-left: 5px;
                    }
                }
            }
        }
    }

    .shop_list{
        display: flex;
        flex-wrap: wrap;
        padding: 0 5px;
        li{
            margin-right: 20px;
            margin-bottom: 20px;
            .goods_item{
                display: block;
                width: 220px;
                padding: 20px 30px;
                text-align: center;
                transition: all .5s linear;
                color: #333;
                &:hover{
                    background-color: #fff;
                    box-shadow: 5px 10px 10px #3333;
                }
                img{
                    width: 160px;
                    height: 160px;
                }
                p{
                    margin-top: 10px;
                    margin-bottom: 0;
                }
                .shop_name{
                    font-size: 16px;
                }
                .shop_desc{
                    color: #999;
                    height: 30px;
                }
                .shop_price{
                    font-size: 20px;
                    color: #d00;
                }
            }
        }    
    }
}
